using System;
using System.Collections.Generic;
using System.Text;

using Open.Data.Persistence;


namespace Open.Data.Persistence.Testing
{
    public enum CustomerType
    {
        Standard = 0,
        Reseller = 1
    }

    public class Customer: Person 
    {
        private decimal _CreditLimit;
        private CustomerType _CustomerType;

        //Test enumerations
        [Column]
        public CustomerType CustomerType
        {
            get 
            {
                return _CustomerType; 
            }
            set 
            { 
                _CustomerType = value; 
            }
        }

        [Column]
        public decimal CreditLimit
        {
            get 
            { 
                return _CreditLimit; 
            }
            set 
            { 
                _CreditLimit = value; 
            }
        }
    }
}
